package com.vf.admin.miaodong.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppRoom;
import java.util.List;
import java.util.Map;

/**
 * 房间
 */
public interface AfterRoomService {

    /**
     * 详情
     */
    public AppRoom get(Integer id);

    /**
     * 详情
     */
    public AppRoom getRoomcode(Integer roomcode);

    /**
     * 添加/修改
     */
    public void save(AppRoom appRoom);

    /**
     * 删除
     */
    public void del(Integer id);

    /**
     * 综合查询
     * @param map
     * @param bean
     */
    public List<AppRoom> findList(Map<String, Object> map, SplitPageBean bean);

    /**
     * 根据房间CODE查询房间
     * @param roomcode
     * @param splitPage
     * @return
     */
    public List<AppRoom> selectRoomByCode(String roomcode, SplitPageBean splitPage);
}
